/*
	navigation bar - horizontal dropdown
	--------------------------------------------------
*/

/* first level */
ul.menu {
	//float: left;
	top:0px;
	height: 10px;
	width:100%;
	/*margin: 20px 0;*/
	padding: 0;
	/*border-left: 1px solid #d7d7d7;*/
	/*border-right: 1px solid #d7d7d7;*/
	list-style: none;
	background: transparent url(bg-nav.png) repeat-x 0 0;
}

ul.menu li {
	position: relative;
	float: left;
//	line-height: 1.1;
}

ul.menu li a {
	display: block;
	width: auto;
	padding: 10px;
	text-decoration: none;
	color: #7c7c7c;
	background: transparent url(bg-nav-sep.png) no-repeat right 2px;
}

ul.menu li.last a {
	background: transparent;
}

ul.menu li a.sub {
	padding-right: 15px;
	background: transparent url(bg-nav-sep.png) no-repeat right -30px;
}

ul.menu li:hover,
ul.menu li.hover /* protofish */ {
	background: transparent url(bg-nav.png) repeat-x 0 -32px;
}

ul.menu li:hover a,
ul.menu li.hover /* protofish */ a {
	color: #000;
}

ul.menu li.active a {
	color: #f15c30;
}

/* second level */
ul.menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
	top: 32px;
	width: 168px;
	border-top: 1px solid #d7d7d7;
}

/* resetting first level */
ul.menu ul ul {
}

ul.menu li:hover li,
ul.menu li:hover li a,
ul.menu li.hover /* protofish */ li,
ul.menu li.hover /* protofish */ li a {
	background: #fff;
	color: #7c7c7c;
}

/* submenu markup */
ul.menu li li {
	width: 100%;
	border-left: 1px solid #d7d7d7;
	border-right: 1px solid #d7d7d7;
}

ul.menu li li.last {
	border-bottom: 1px solid #d7d7d7;
}

ul.menu li li a {
	padding: 5px 5px 5px 10px;
}

ul.menu li:hover li:hover a,
ul.menu li.hover li.hover /* protofish */ a {
	background: #f6f6f6;
	color: #000;
}

ul.menu li:hover li.active a,
ul.menu li.hover /* protofish */ li.active a {
	color: #f15c30;
}

ul.menu li li a.sub {
	padding-right: 15px;
	background: url(arrow_r.png) no-repeat 95% 50%;
}

ul.menu li:hover li:hover a.sub,
ul.menu li.hover li.hover /* protofish */ a.sub {
	background: #f6f6f6 url(arrow_r.png) no-repeat 95% 50%;
}

/* third level */
/* resetting second level */
ul.menu ul ul{
	top: -1px;
	margin-left: 169px;
	background: #fff;
}

ul.menu li:hover li:hover li,
ul.menu li:hover li:hover li a, {
ul.menu li.hover li.hover /* protofish */ li,
ul.menu li.hover li.hover /* protofish */ li a
	color: #7c7c7c;
}

/* subsubmenu markup */
ul.menu li:hover li:hover li:hover a,
ul.menu li.hover li.hover li.hover /* protofish */ a {
	background: #e6e6e6;
	color: #000;
}

ul.menu li:hover li:hover li.active a,
ul.menu li.hover li.hover /* protofish */ li.active a {
	color: #f15c30;
}

ul.menu li:hover li:hover li:hover a.sub,
ul.menu li.hover li.hover li.hover /* protofish */ a.sub {
	background: #e6e6e6 url(arrow_r.png) no-repeat 95% 50%;
}

/* fourth level */
/* resetting second level */
ul.menu li:hover li:hover li:hover li,
ul.menu li:hover li:hover li:hover li a,
ul.menu li.hover li.hover li.hover /* protofish */ li,
ul.menu li.hover li.hover li.hover /* protofish */ li a {
	color: #7c7c7c;
}

/* subsubmenu markup */
ul.menu li:hover li:hover li:hover li:hover a,
ul.menu li.hover li.hover li.hover li.hover /* protofish */ a {
	background: #ccc;
	color: #000;
}

ul.menu li:hover li:hover li:hover li.active a,
ul.menu li.hover li.hover li.hover /* protofish */ li.active a {
	color: #f15c30;
}

ul.menu li:hover li:hover li:hover li a.sub,
ul.menu li.hover li.hover li.hover /* protofish */ li a.sub {
	background: #e6e6e6;
}

ul.menu li:hover li:hover li:hover li:hover a.sub,
ul.menu li.hover li.hover li.hover li.hover /* protofish */ a.sub {
	background: #ccc;
}

/* hiding fifth level */
div#nav ul ul ul ul ul {
	display: none;
}

/* show hide behaviour */
ul.menu ul,
ul.menu li:hover ul ul,
ul.menu ul ul,
ul.menu li:hover ul ul ul,
ul.menu ul ul ul,
ul.menu li:hover ul ul ul ul {
	position: absolute;
	left: -999em;
}

ul.menu li:hover ul,
ul.menu li li:hover ul,
ul.menu li li li:hover ul,
ul.menu li li li li:hover ul {
	left: -1px;
	z-index: 999;
}

/* show hide behaviour with protofish */
ul.menu li.hover ul ul,
ul.menu li.hover ul ul ul,
ul.menu li.hover ul ul ul ul {
	position: absolute;
	left: -999em;
}

ul.menu li.hover ul,
ul.menu li li.hover ul,
ul.menu li li li.hover ul,
ul.menu li li li li.hover ul {
	left: -1px;
	z-index: 999;
}

/* GENERAL STYLES */

div.menu {
	position: absolute;
	top: 0;
	left: 0;
	font-family: verdana;
}
div.menu a {
	display: block;
	text-decoration: none;
	cursor: default;
	outline: none;
	font-size: 11px;
}
.menu .separator {
	height: 1px;
	padding: 0;
	overflow: hidden;
	display: block;
	font-size: 1px;
}
.menu ul, .menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.menu li {
	list-style-position: outside;
}


/* FIREFOX STYLES */

.menu.firefox {
	width: 12em;
	background: #F4F5EB;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
	padding: 2px 0;
}
.menu.firefox a {
	color: #555;
	padding: 4px 15px;
	margin: 0 2px;
}
.menu.firefox a:hover {
	background: #006;
	color: #fff;
}
.menu.firefox a.disabled {
	color: #bbb;
}
.menu.firefox a.disabled:hover {
	background: #F4F5EB;
	color: #bbb;
}
.menu.firefox .separator {
	border-bottom: 1px solid #fff;
	background: #999;
	margin: 2px 4px;
}


/* GOOGLE STYLES */

.menu.google {
	width: 10.5em;
	background: #fff;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #676767;
	border-right: 1px solid #676767;
}
.menu.google a {
	color: #00c;
	text-decoration: none;
	padding: 2px 5px;
	cursor: pointer;
	font-size: 12px;
}
.menu.google a:hover {
	background: #D3E3FE;
}
.menu.google a.disabled {
	color: #bbb;
}
.menu.google a.disabled:hover {
	background: #fff;
	color: #bbb;
}
.menu.google .separator {
	background: #ccc;
}

/* DESKTOP STYLES */

.menu.desktop {
	width: 14em;
	background: #f9f8f7;
	border: 1px solid #999;
	padding: 0;
}
.menu.desktop ul, .menu.desktop li {
	margin: 0;
	padding: 0;
}
.menu.desktop li.separator {
	height: 1px;
}
.menu.desktop a {
	color: #555;
	padding: 3px 0 3px 25px;
	margin: 0;
	border: 1px solid #f9f8f7;
}
.menu.desktop a.disabled {
	opacity: 0.25;
	filter: alpha(opacity=25);
	zoom: 1;
}
.menu.desktop li.separator {
	border-bottom: 1px solid #fff;
	background: #aaa;
	margin: 1px 1px 0 1px;
	line-height: 1px !important;
}
.menu.desktop a.new {
  background: #f9f8f7 url(images/page.png) 2px 50% no-repeat;
}
.menu.desktop a.edit {
  background: #f9f8f7 url(images/page_edit.png) 2px 50% no-repeat;
}
.menu.desktop a.copy {
  background: #f9f8f7 url(images/page_copy.png) 2px 50% no-repeat;
}
.menu.desktop a.delete {
  background: #f9f8f7 url(images/page_delete.png) 2px 50% no-repeat;
}
.menu.desktop a.save {
  background: #f9f8f7 url(images/page_save.png) 2px 50% no-repeat;
}
.menu.desktop a.xsl {
  background: #f9f8f7 url(images/page_excel.png) 2px 50% no-repeat;
}
.menu.desktop a.doc {
  background: #f9f8f7 url(images/page_word.png) 2px 50% no-repeat;
}
.menu.desktop a.pdf {
  background: #f9f8f7 url(images/page_acrobat.png) 2px 50% no-repeat;
}
.menu.desktop a.send {
  background: #f9f8f7 url(images/email.png) 2px 50% no-repeat;
}
/* we need explicit enabled class to overcome css deficiences (without creating unnecessary markup) */
.menu.desktop a.enabled:hover {
	background-color: #0A246A;
	color: #fff;
}
